package org.zn.etl;

import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;


@EnableCaching
//@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class ,RedisAutoConfiguration.class ,ShardingSphereAutoConfiguration.class } )
@ComponentScan(basePackages={"org.zn.*"})
public class EtlApplication {

    public static void main(String[] args) {

        SpringApplication.run(EtlApplication.class, args);
    }

}

